package com.ksc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ksc.entity.Password;
import org.apache.ibatis.annotations.Select;

public interface PasswordMapper extends BaseMapper<Password> {

    //根据账号查询密码
    @Select("select account, password, record_time  from password_service where account = #{account}")
    Password selectByAccount(String account);
}
